home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Found / FWString / SLLocale.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.2 KB  |  51 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLLocale.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLLOCALE_H
  11. #define SLLOCALE_H
  12.  
  13. #ifndef FWODEXCE_H
  14. #include "FWODExce.h"
  15. #endif
  16.  
  17. #include "FWTxtTyp.xh"
  18.  
  19. //========================================================================================
  20. //    Global Functions
  21. //========================================================================================
  22.  
  23. // Export or Import functions for CFM-68K [sfu]
  24.  
  25. #if defined(FW_ODFLIB_IMPORT)
  26. #pragma import on
  27. #elif defined(FW_ODFLIB)
  28. #pragma export on
  29. #endif
  30.  
  31. FW_EXTERN_C_BEGIN
  32.  
  33. FW_Boolean FW_LocaleIsSingleByte(FW_Locale locale);
  34.     // Return true if all characters in this locale are 1 byte wide.
  35.  
  36. FW_Boolean FW_CharIsDoubleByte(const char* p, short offset, const FW_Locale& locale);
  37.     // Return true if the byte at the specified location is the first byte of
  38.     // a double-byte character.
  39.  
  40. FW_EXTERN_C_END
  41.  
  42. // For CFM-68K [sfu]
  43.  
  44. #if defined(FW_ODFLIB_IMPORT)
  45. #pragma import off
  46. #elif defined(FW_ODFLIB)
  47. #pragma export off
  48. #endif
  49.  
  50. #endif
  51.